package com.hdq.service;

import com.hdq.result.PageResult;
import dto.ImageAddDTO;
import dto.ImageEditDTO;
import org.springframework.web.multipart.MultipartFile;
import vo.ImageUploadVO;

import java.util.List;

public interface ImageService {
    List<ImageUploadVO> upload(MultipartFile[] files);


    void insertPictureByCategory(Long imageClassId,List<ImageAddDTO> imageAddDTOS);

    PageResult getImageByCategory(Long imageId, Integer limit, Integer page);

    void deleteImage(Integer id,String filename);

    void updateImage(ImageEditDTO imageEditDTO);

}
